﻿#include "FITKFEJunctionPoint.h"

#include <QList>

namespace Acoustics
{
    FITKAbstractJunction::JunctionType FITKFEJunctionPoint::getJunctiontType()
    {
        //获取耦合对象类型
        return FITKAbstractJunction::JunctionType::FEPointJunction;
    }

    int FITKFEJunctionPoint::getPointID()
    {
        //获取点的ID
        return _pointID;
    }

    void FITKFEJunctionPoint::setPointID(int id)
    {
        //设置点的ID
        _pointID = id;
    }

    void FITKFEJunctionPoint::setConnectNodeID(int node1, int node2)
    {
        //设置连接点的ID
        _connectPointID.first = node1;
        _connectPointID.second = node2;
    }

    int FITKFEJunctionPoint::getConnectNode1ID()
    {
        //获取连接点1
        return _connectPointID.first;
    }

    int FITKFEJunctionPoint::getConnectNode2ID()
    {
        //获取连接点2
        return _connectPointID.second;
    }

    void FITKFEJunctionPoint::updateConnect()
    {
        //更新连接
    }
}